package com.fortune.vo.dOrder;

import java.math.BigDecimal;
import java.util.Date;

import com.fortune.constants.enums.Approve;
import com.fortune.constants.enums.KaiType;
import com.fortune.constants.enums.Payed;

import com.fortune.constants.enums.Status;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author ran
 *伟补充所有字段
 */
public class DOrderInfo {
	@ApiModelProperty(example="公司名称")
	private String companyName;
	@ApiModelProperty(example="付款流水号")
	private String serialNumber;
	@ApiModelProperty(example="是否批准发货（'YES','NO'）")
	private Status isApprove;
	@ApiModelProperty(example="开单方（CS厂商/JXS经销商）")
	private KaiType createType;
	@ApiModelProperty(example="厂商ID")
	private String mid;
	@ApiModelProperty(example="订单id")
	private String id;
	@ApiModelProperty(example="经销商名称")
	private String name;
	@ApiModelProperty(example="订单编号")
	private String no;
	@ApiModelProperty(example="开单日期")
	private Date createTime;
	@ApiModelProperty(example="开单人名称")
	private String createUser;
	@ApiModelProperty(example="商品总金额")
	private BigDecimal pTotalPrice;
	@ApiModelProperty(example="押金总金额")
	private BigDecimal dTotalPrice;
	@ApiModelProperty(example="是否已付款")
	private Payed payed;
	@ApiModelProperty(example="付款日期")
	private Date payTime;
	@ApiModelProperty(example="付款方式")
	private String payType;
	@ApiModelProperty(example="是否批准发货")
	private Approve approve;
	@ApiModelProperty(example="发货批准人")
	private String shipUser;
	@ApiModelProperty(example="发货批准日期")
	private Date shipTime;
	@ApiModelProperty(example="发货仓库")
	private String shipStore;

	public String getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}

	public Status getIsApprove() {
		return isApprove;
	}

	public void setIsApprove(Status isApprove) {
		this.isApprove = isApprove;
	}

	public KaiType getCreateType() {
		return createType;
	}

	public void setCreateType(KaiType createType) {
		this.createType = createType;
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public BigDecimal getpTotalPrice() {
		return pTotalPrice;
	}

	public void setpTotalPrice(BigDecimal pTotalPrice) {
		this.pTotalPrice = pTotalPrice;
	}

	public BigDecimal getdTotalPrice() {
		return dTotalPrice;
	}

	public void setdTotalPrice(BigDecimal dTotalPrice) {
		this.dTotalPrice = dTotalPrice;
	}

	public Payed getPayed() {
		return payed;
	}

	public void setPayed(Payed payed) {
		this.payed = payed;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public Approve getApprove() {
		return approve;
	}

	public void setApprove(Approve approve) {
		this.approve = approve;
	}

	public String getShipUser() {
		return shipUser;
	}

	public void setShipUser(String shipUser) {
		this.shipUser = shipUser;
	}

	public Date getShipTime() {
		return shipTime;
	}

	public void setShipTime(Date shipTime) {
		this.shipTime = shipTime;
	}

	public String getShipStore() {
		return shipStore;
	}

	public void setShipStore(String shipStore) {
		this.shipStore = shipStore;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	@Override
	public String toString() {
		return "DOrderInfo{" +
				"companyName='" + companyName + '\'' +
				", serialNumber='" + serialNumber + '\'' +
				", isApprove=" + isApprove +
				", createType=" + createType +
				", mid='" + mid + '\'' +
				", id='" + id + '\'' +
				", name='" + name + '\'' +
				", no='" + no + '\'' +
				", createTime=" + createTime +
				", createUser='" + createUser + '\'' +
				", pTotalPrice=" + pTotalPrice +
				", dTotalPrice=" + dTotalPrice +
				", payed=" + payed +
				", payTime=" + payTime +
				", payType='" + payType + '\'' +
				", approve=" + approve +
				", shipUser='" + shipUser + '\'' +
				", shipTime=" + shipTime +
				", shipStore='" + shipStore + '\'' +
				'}';
	}
}
